package VarScopeDetail;

public class Detail01 {
    public static void main(String[] args) {
        test01 t1 = new test01();
        t1.Sayname();
        t1.Sayagain();
    }
}


class test01 {
    String name = "jack";
    public void Sayname() {
        String name = "lfm";
        System.out.println(name);
    }
    public void Sayagain() {
        System.out.println(name);
    }
}
